findFragmentByTag
Finds a fragment that was identified by the given tag either when inflated from XML or as supplied when added in a transaction. This first searches through fragments that are currently added to the manager's activity; if no such fragment is found, then all fragments currently on the back stack are searched.
If provided a null
tag, this method returns null.
Return
The fragment if found or null otherwise.
Parameters
tag
the tag used to search for the fragment